﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace NPMonitor.Web
{
    
    public struct CommonString
    {
        public const string Select = "Select";
        public const string Create = "Create";
        public const string DataTimeFormat = "dd-MM-yyyy HH:mm:ss";
        public const string DataTimeFormatClient = "dd-MM-yyyy hh:mm:ss";
        public const string HistoryPageDateFormat = "MM/dd/yyyy hh:mm:ss";

        public const string MachineName = "MachineName";
        public const string Success = "Success";
        public const string Failed = "Failed";
        
        public const string HasBeenDeleted = "The {0} has been deleted !";
        public const string SchedleCreatedSuccessful = "The Schedule has been Successfully created !";
        public const string JobInJobInstance = "Job have at least one running instance.";
        public const string JobInWorkflow = "Job is used by workflow : {0}.";

        public const string SaveSuccessfullyTip = "Save successfully!";
        public const string SaveFailedTip = "Save failed!";

        public const string WorkflowInSchedule = "Workflow have at least one running instance.";
        public const string MachineConnected = "Connected";
        public const string MachineUnconnected = "Unconnected";

        public const string RunOnce = "Run Once";
        public const string Schedule = "Schedule";
    }


    public struct ValidationString
    {
        public const string FieldAlreadyExists = "{0} already exists";
        public const string FieldRequired = "Require {0}";
        public const string FieldInvalid = "Invalid {0}";
        public const string FieldLengthExceeded = "{0} length exceeds the maximum length of {1} characters";
        public const string LoginFailure = "Username or password is invalid ";
        public const string LoginUserDisabled = "You don't have permission to acess the system!Please contact the adminstrator";
        public const string EmailTransform = "Please input right Email Address";
        public const string RequiredOneJob = "Please select job";
        public const string RequiredOneAction = "Please select action";
        public const string RequiredPositiveInteger = "Please Input Positive Integer";

        public const string PleaseSelect = "Please Select {0}";
        public const string StartTimeInvalidate = "StartTime format is invalidate.";
        public const string EndTimeInvalidate = "EndTime format is invalidate.";
        public const string EndTimeGreaterThenStartTime = "EndTime must greater than StartTime.";
    }
}